﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;
namespace Production_Set.API.Application.Commands.Procurement
{
    public class PaymentPlansCreateCommand : IRequest<Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int PaymentPlanId { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime PaymentPlanDate { get; set; }

        /// <summary>
        /// 比例
        /// </summary>
        public string ProportionPayment { get; set; }

        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal PaymentPrice { get; set; }

        /// <summary>
        /// 预付款
        /// </summary>
        public decimal PaymentAdvance { get; set; }
        /// <summary>
        /// 采购序号
        /// </summary>
        public int PurchasinId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string? Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string? HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
    }
}
